home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
ptv1n2.arc
/
MOUSE.H
< prev
next >
Wrap
Text File
|
1990-06-14
|
572b
|
17 lines
/* mouse.h
*/
#define RESET_MOUSE 0
#define SHOW_MOUSE 1
#define HIDE_MOUSE 2
#define GET_MOUSE_STATUS 3
#define PRESSED 5 /* Button presses */
#define RELEASED 6 /* Button releases */
#define LEFT_BUTTON 0 /* Use left button */
/* The function prototypes for the functions in mouse.c */
void mouse(int *m1, int *m2, int *m3, int *m4);
int initmouse(void);
void getmousecoords(int *x, int *y);
void mousestatus(int stateofmouse);
int buttonstatus(int condition, int whichbutton);